home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 785 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: news.tu-chemnitz.de!news
  2. From: hfst@hrz.tu-chemnitz.de (Hans Steffani)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: How to realize matrix Operation by C ?
  5. Date: 9 Jan 96 08:15:22 GMT
  6. Organization: University of Technology Chemnitz, FRG
  7. Message-ID: <4ct8gm$ehq@pyrrhus-f.hrz.tu-chemnitz.de>
  8. References: <4csdd2$pgu@masala.cc.uh.edu>
  9. NNTP-Posting-Host: mmu.hrz.tu-chemnitz.de
  10.  
  11. Jingbo  Zheng <jzheng> writes:
  12.  
  13. >Is there anyboby has a good solution to realize the addition, subtraction,
  14. >multiplication, division and exponential function of matrices by using C
  15. >language? The dimension of the matrices should be variable.
  16.  
  17. You may implement functions with two pointers to float wich
  18. represent the matrizes and its order, assuming rectangular
  19. Matrizes.
  20.  
  21. With this you can implement addition, subtraction and multiplication.
  22.  
  23. Then you may build a function (using gauss method) to solve
  24. linear equation systems compute the inverse of a matrix.
  25.  
  26. The exponential function of matrices may be computed by using
  27. series. 
  28.  
  29. h.f.s.
  30.  
  31. PS:
  32. Your From:-Line does not contain a valid e-mail address. Please
  33. change this!
  34. --
  35. Hans Friedrich Steffani
  36. Institut fuer Elektrische Maschinen und Antriebe
  37. TU Chemnitz-Zwickau
  38. e-mail: hans.steffani@e-technik.tu-chemnitz.de
  39.